<?php
namespace app\home\controller;

class Test
{
	public function test()
	{

		vendor("phpquery.phpQuery");

		\phpQuery::newDocumentFile('http://fly.layui.com/jie/10000/'); 

		$title =  pq(".detail h1")->html(); 

		var_dump($title);
	}
}